package com.morizhang.merchanmanager.api.model;

import lombok.Data;

@Data
public class PriceModel {
    private String serialNo;
    private String barCode;
    private String batchNo;
    private float stockPrice;
    private float defaultSellPrice;
    private float nowSellPrice;

    private String productName;

    public PriceModel() {super();}
    public PriceModel(StockModel stockModel) {
        this.barCode = stockModel.getBarCode();
        this.batchNo = stockModel.getBatchNo();
        this.stockPrice = stockModel.getStockPrice();
    }
}
